﻿using NUnit.Framework;
using Vk.Methods.Docs;

namespace UnitTests
{
    [TestFixture]
    class DocsTests : TestsBase
    {
        [Test]
        public void GetTest()
        {
            IsSignatureUpdated(typeof(Docs).GetMethod("Get"));
        }

        [Test]
        public void GetByIdTest()
        {
            IsSignatureUpdated(typeof(Docs).GetMethod("GetById"));
        }

        [Test]
        public void GetUploadServerTest()
        {
            IsSignatureUpdated(typeof(Docs).GetMethod("GetUploadServer"));
        }

        [Test]
        public void GetWallUploadServerTest()
        {
            IsSignatureUpdated(typeof(Docs).GetMethod("GetWallUploadServer"));
        }

        [Test]
        public void SaveTest()
        {
            IsSignatureUpdated(typeof(Docs).GetMethod("Save"));
        }

        [Test]
        public void DeleteTest()
        {
            IsSignatureUpdated(typeof(Docs).GetMethod("Delete"));
        }

        [Test]
        public void AddTest()
        {
            IsSignatureUpdated(typeof(Docs).GetMethod("Add"));
        }

        [Test]
        public void GetTypesTest()
        {
            IsSignatureUpdated(typeof(Docs).GetMethod("GetTypes"));
        }

        [Test]
        public void SearchTest()
        {
            IsSignatureUpdated(typeof(Docs).GetMethod("Search"));
        }

        [Test]
        public void EditTest()
        {
            IsSignatureUpdated(typeof(Docs).GetMethod("Edit"));
        }

    }
}
